//! @author Adam Emil Skoog
//! @date   2012-01-05

#ifndef MEHDI_GAME_H_
	#define MEHDI_GAME_H_
	#include "ImageLoader.h"

	namespace mehdi
	 {
		class Level;
		class House;

		class Game
		 {
			public:
				static void run();
				static void clean();
				static sf::RenderWindow *const getWindow();
				static ImageLoader *const getImageLoader();
				static Level *const getLevel();
				static void setPaused(const bool &paused = true);
				static const bool &isPaused();
				static const double &getPlaytime();
				static const double getPlayFrameTime();
				static void enterHouse(Level *const,House *const);

			private:
				static sf::RenderWindow *const window;
				static ImageLoader      *const imageLoader;
				static Level            *      level,
				                        *      oldLevel;
				static House            *      currentHouse;
				static bool                    paused,
				                               enterNewHouse;
				static double                  playtime;
		 };
	 }
#endif
